/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package encrypt;

/**
 *
 * @author XuanHung
 */
public interface BlockCipher
{
        public void init(boolean forEncryption, byte[] key);

        public int getBlockSize();

        public void transformBlock(byte[] src, int srcoff, byte[] dst, int dstoff);
}